<?php
            include('../confdb.php');

            $con = mysqli_connect($db_host, $db_user, $db_pass, $db_name);
            
            $suddel = $_POST['suddel'] ?? '';

            $query = "DELETE FROM sudgotov WHERE vistuplenie_idvistuplenie='$suddel'";
            $result = mysqli_query($con, $query) or die("Ошибка " . mysqli_error($con)); 

?>